package protocol.meta;



public class AppHead {
    
    private static final int USER_TYPE_BASE = 1;
    public static final int USER_TYPE_USER = USER_TYPE_BASE;
    public static final int USER_TYPE_ROBOT = USER_TYPE_BASE + 1;
    public static final int USER_TYPE_OFFICIAL = USER_TYPE_BASE + 2;
    public static final int USER_TYPE_ANONYMOUS = USER_TYPE_BASE + 3;
    
    private static final int USER_ATTR_BASE = 1;
    public static final int USER_ATTR_GAME = USER_ATTR_BASE;
    public static final int USER_ATTR_COMPOSITE = USER_ATTR_BASE + 1;
    public static final int USER_ATTR_OTHER = USER_ATTR_BASE + 2;
    public static final int USER_ATTR_COMMON = USER_ATTR_BASE + 4;
    public static final int USER_ATTR_V = USER_ATTR_BASE + 5;
    
	private String userId;
	private String nickname;
	private String avatar;
	private Integer userType;
	private Integer userAttr;
	private String signature;
	private Integer follow;
	private Integer followed;

	public AppHead(Long userId, String nickname) {
		this.userId = "" + userId;
		this.nickname = nickname;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public Integer getUserAttr() {
		return userAttr;
	}

	public void setUserAttr(Integer userAttr) {
		this.userAttr = userAttr;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Integer getFollow() {
		return follow;
	}

	public void setFollow(Integer follow) {
		this.follow = follow;
	}

	public Integer getFollowed() {
		return followed;
	}

	public void setFollowed(Integer followed) {
		this.followed = followed;
	}

	@Override
	public String toString() {
		return super.toString();
	}
}
